import api from './init'
import {AxiosResponse} from "axios";
import {Result} from "@/types/api-common";
// 创建群聊
export const createGroup = async (formData: FormData) : Promise<AxiosResponse<Result<void>>> => {
    return api.post('/group',
        formData,
        {
            headers: {
                "Content-Type": "multipart/form-data",
            },
        })
}